// Map 数据结构
// const obj = {}
// obj[true] = 'value'
// obj[123] = 'value'
// obj[{a:1}] = 'value'

// console.log(Object.keys(obj))
// console.log(obj['object Object'])

const m = new Map()
const tom = { name: 'tom' }

m.set(tom, 90)
m.set('name', 'tick')
console.log(m)

console.log(m.get(tom))

console.log(m.delete(tom))
console.log(m, 'm:::')
console.log(m.clear())
console.log(m)
